package com.ece.friendly.model;

import java.util.Date;

public class Article {
	private int id;
	private String designation;
	private String event;
	private int like;
	private float prix;
	private String conseil;
	private int etat;
	private String date_post;
	private String photo;
	private String stylie;
	
	public Article(int id, String stylie,String event, int like,String designation, 
			String conseil, int etat,float prix, Date date_post, String photo) {
		this.id=id;
		this.setStylie(stylie);
		this.designation = designation;
		this.event = event;
		this.like = like;
		this.prix = prix;
		this.conseil = conseil;
		this.etat = etat;
		this.date_post = date_post.toString();
		this.photo=photo;
	}

	public String getDesignation() {
		return designation;
	}

	public void setDesignation(String designation) {
		this.designation = designation;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public int getLike() {
		return like;
	}

	public void setLike(int like) {
		this.like = like;
	}

	public float getPrix() {
		return prix;
	}

	public void setPrix(float prix) {
		this.prix = prix;
	}

	public String getConseil() {
		return conseil;
	}

	public void setConseil(String conseil) {
		this.conseil = conseil;
	}

	public int getEtat() {
		return etat;
	}

	public void setEtat(int etat) {
		this.etat = etat;
	}

	public String getDate_post() {
		return date_post;
	}

	public void setDate_post(Date date_post) {
		this.date_post = date_post.toString();
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStylie() {
		return stylie;
	}

	public void setStylie(String stylie) {
		this.stylie = stylie;
	}
	
	
}
